// Copyright (C) joyinter
// All rights reserved.
// 
// Author : Lu Rong
// Date   : 2005-02-22

#ifndef __TM_CSTRENCH_H_SERVER_SVR_MAIN__
#define __TM_CSTRENCH_H_SERVER_SVR_MAIN__

#pragma once

#include <common/svr_base/base_timer.h>

namespace JoyServer
{

class CJoyMainRoom;

class CJoyTmCSTrench : public CJoyTimerObject
{
public:
	CJoyMainRoom *m_room;

	virtual void OnExecute();

public:
	CJoyTmCSTrench();
	~CJoyTmCSTrench();

	virtual bool Create(CJoyMainRoom *pRoom);
    virtual void Destroy();
};

} // namespace JoyServer

#endif // __TM_CSTRENCH_H_SERVER_SVR_MAIN__